package com.macro.mall.mapper;

import com.macro.mall.model.BmsSightseeingBus;
import com.macro.mall.model.BmsSightseeingBusPic;
import com.macro.mall.model.BmsSightseeingBusPoint;
import com.macro.mall.model.BmsSightseeingBusPointExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BmsSightseeingBusPicMapper {
    int deleteByPrimaryKey(Long id);


    BmsSightseeingBusPic selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") BmsSightseeingBusPoint row, @Param("example") BmsSightseeingBusPointExample example);

    int updateByExampleWithBLOBs(@Param("row") BmsSightseeingBusPoint row, @Param("example") BmsSightseeingBusPointExample example);

    int updateByExample(@Param("row") BmsSightseeingBusPoint row,@Param("example") BmsSightseeingBusPointExample example);

    int updateByPrimaryKeySelective(BmsSightseeingBusPoint record);

    int updateByPrimaryKeyWithBLOBs(BmsSightseeingBusPoint record);






    //手写更新方法
    int updateByPrimaryKey(BmsSightseeingBusPic bmsSightseeingBusPic);

    //手写批量更新方法
    int updateByNew(List<Long> ids);

    //手写新增方法
    int insert(BmsSightseeingBusPic bmsSightseeingBusPic);

    //手写查询
    List<BmsSightseeingBusPic> selectAll(BmsSightseeingBusPic bmsSightseeingBusPic);

    int delete(@Param("ids") List<Long> ids);

    List<BmsSightseeingBusPic> selectNew(BmsSightseeingBus id);
}